package com.snow.platform.auth.service;

import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.snow.platform.auth.mapper.RoleMapper;
import com.snow.platform.auth.po.Role;
import com.snow.platform.auth.service.api.RoleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("roleService")
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {

    private static Logger logger = LoggerFactory.getLogger(RoleServiceImpl.class);

    @Override
    public List<Role> selectList(Wrapper<Role> wrapper) {
        logger.error(Thread.currentThread().getName());
        return baseMapper.selectList(wrapper);
    }

}
